package com.quanyue.mechanics.complex.service;

import com.quanyue.mechanics.domain.entity.Purpose;
import com.vhuomai.mybatis.mapper.page.Page;
import com.vhuomai.mybatis.mapper.page.PageRequest;

public interface PurposeService {
    Purpose addPurpose(Purpose purpose);

    void updatePurpose(Purpose purpose);

    void deletePurpose(Integer id);

    Page <Purpose> findPurpose(PageRequest request);
}
